﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Xml.Linq;
using System.Web.Mvc;

namespace MvcServiceLibrary
{
    public class XmlSerializedView : SerializedView
    {
        public override string ContentType
        {
            get { return Strings.ContentTypeXml; }
        }

        public override string GetContent(object viewData)
        {
            return viewData.ToXml();
        }
    }
}
